package my.edu.model.commodity.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("pricing_scheme")
public class PricingScheme {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String schemeNo;
    private String schemeName;
    private String remark;
    private Integer status;
    @TableField(fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.UPDATE)
    private Long updatedBy;
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdTime;
    @TableField(fill = FieldFill.INSERT)
    private Long createdBy;
    @Version
    private Integer version;
}